home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Windows Expert
/
Windows Expert.iso
/
drivers
/
formcode.zip
/
TEST.MPG
< prev
next >
Wrap
Text File
|
1991-11-06
|
1KB
|
32 lines
* This is the template main program
* Upon code generation, it is placed in the file with the .MPG extension.
* From there it is included in the .PRG file along with other generated
* procedures.
* You should modify this main program to add necessary statements for
* opening databases, initializing and increment variables, etc. Make all
* changes to the .MPG File and NOT the .PRG file. Also, after you have
* modified the .MPG file, un-check the "Generate Template Main Program"
* from the File->PageSetup dialog box. This will keep the .MPG file from
* being overwritten by FromCode/Gen
SET TALK OFF
* Comment out the next line for debugging.
SET CONSOLE OFF
SET PROCEDURE TO TEST
DO FCGINIT
SET PRINT ON
DO FCGSTART WITH 1, 0, 2, 4, 300
FCGPAGE = 1
DO WHILE FCGPAGE <= 1
DO FCGFIXOBJ
DO FCGVAROBJ
* Do all variable re-assignments, file pointer movements, etc, here.
?? chr(12)
FCGPAGE = FCGPAGE + 1
ENDDO
DO FCGEND
SET PRINT OFF
SET CONSOLE ON
RETURN